﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="boot.js" type="text/javascript"></script>
</head>
<body>
<div id="treeGridMenu" class="mini-treegrid" style="width:700px;height:280px;" ></div>
</body>
</html>
<script>
    mini.parse();
    var tree = mini.get("treeGridMenu");
    tree.set({
        url: "test.txt",
        treeColumn:"taskname",
        idField:"UID",
        parentField: "ParentTaskUID",
        resultAsTree:false,
        columns: [
                { type: "indexcolumn" },
                { name:"taskname",field: "aaa", width: 180, headerAling: "center", header: "AAA" },
                { field: "bbb", width: 180, headerAling: "center", header: "BBB" },
                { field: "ccc", width: 180, headerAling: "center", header: "CCC" }
                ]
    })
    tree.load();
</script>
